package com.stottlerhenke.simbionic.engine.core;

import com.stottlerhenke.simbionic.common.Enum;

/**
 * <p>Title: EBindType</p>
 * <p>Description: Defines Binding Type Enum</p>
 * <p>Copyright: Copyright (c) 2003</p>
 * <p>Company: Stottler Henke</p>
 * @author not attributable
 * @version 1.0
 */

public class EBindType extends Enum {
  private EBindType(int value) {
    super(value);
  }

  public static final EBindType kBehaviorVar = new EBindType(0);
  public static final EBindType kBehaviorParam = new EBindType(1);
  public static final EBindType kActionParam = new EBindType(2);
  public static final EBindType kGlobalVar = new EBindType(3);
  public static final int kClassFlag = 128;
  
  public static EBindType getType(int i)
  {
    switch(i)
		{
      case 0: return kBehaviorVar;
      case 1: return kBehaviorParam;
      case 2: return kActionParam;
      case 3: return kGlobalVar;
      default:
        return null;
		}
  }

}